from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1261436013.005619
_template_filename='/home/dcrowdy/src/arkaiv/arkaiv/templates/addannodexform.mak'
_template_uri='/addannodexform.mak'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding=None
_exports = []


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'/autohandler', _template_uri)
def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        c = context.get('c', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u' \n<h1 class="main">Add annodex media</h1>\n\nThe page where data gets added.\n\n')
        # SOURCE LINE 6
        __M_writer(unicode( h.form(h.url_for(action='addannodexmedia'), multipart=True) ))
        __M_writer(u' \n<table>\n<tr>\n<td>Upload OGG file:</td>\n<td>')
        # SOURCE LINE 10
        __M_writer(unicode( h.file_field('oggfile') ))
        __M_writer(u' </td>\n</tr>\n<tr>\n<td>Upload CMML file:</td>\n<td>')
        # SOURCE LINE 14
        __M_writer(unicode( h.file_field('cmmlfile') ))
        __M_writer(u' (if left blank, will be created) </td>\n</tr>\n<tr>\n<td>Collection:</td>\n<td>')
        # SOURCE LINE 18
        __M_writer(unicode( h.select("collection", c.collectioninfo)))
        __M_writer(u'</td>\n</tr>\n</table>\n')
        # SOURCE LINE 21
        __M_writer(unicode( h.submit('Submit') ))
        __M_writer(u' \n')
        # SOURCE LINE 22
        __M_writer(unicode( h.end_form() ))
        __M_writer(u' \n\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


